package com.atguigu.gulimail.product.fegin;

/**
 * @author Fengkai
 * @creat 2022/1/5
 */

import com.atguigu.common.utils.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
@FeignClient("gulimail-ware")
public interface WareFeignService {
    //查询sku是否有库存
    @PostMapping("ware/waresku/hasstock")
    Response getSkuHasStock(@RequestBody List<Long> skuIds);
}
